Apn

data class Apn(val carrierName: String?, val apnName: String?, val apnUsername: String? = "", val apnPassword: String? = "", val serverAddress: String? = "", val authenticationType: String? = "", val apnType: String? = "", val countryCodes: String? = "", val mobileNetworkCodes: String? = "") : Parcelable

Holds the data related to a specific device APN.

Constructors

Link copied to clipboard
constructor(carrierName: String?, apnName: String?, apnUsername: String? = "", apnPassword: String? = "", serverAddress: String? = "", authenticationType: String? = "", apnType: String? = "", countryCodes: String? = "", mobileNetworkCodes: String? = "")

Properties

Link copied to clipboard

the name of the APN. This can be non unique

Link copied to clipboard

the APN password credentials

Link copied to clipboard

this is the type of apn meaning internet, MMS, etc... it is usually also represented by an integer

Link copied to clipboard

the APN username credentials

Link copied to clipboard

the type of authentication to be used. This is usually an integer based value but can depend on the implementation of the SPAPI for that device. A standard value is 0 -> no authetnication

Link copied to clipboard

the carrier name as provided by the APN provider. Should be used to identify and APN

Link copied to clipboard

the mobile country codes

Link copied to clipboard

the MNC, 2,3 digits that identify the network operator within the the provided country

Link copied to clipboard

the address of the APN server

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)